package com.bian.starter;

/**
 * @author bianpengfei
 * @create 2019-02-03 16:40
 **/
public class HelloService {

    private HelloProperties helloProperties;

    public String sayHelloBian(String name) {
        return helloProperties.getPrefix() + "-" + name + helloProperties.getSuffix();
    }

    public HelloProperties getHelloProperties() {
        return helloProperties;
    }

    public void setHelloProperties(HelloProperties helloProperties) {
        this.helloProperties = helloProperties;
    }
}
